﻿using System;
using System.Data;
using Fjaspx.Common;
namespace Fjaspx.UI.Web
{
    public partial class Administrator_admin_left : AdminPage
    {
        /// <summary>
        /// Handles the Load event of the Page control.
        /// </summary>
        /// <param name="sender">The source of the event.</param>
        /// <param name="e">The <see cref="System.EventArgs"/> instance containing the event data.</param>
        protected void Page_Load(object sender, EventArgs e)
        {
            //Panel_User.Visible = true;
            //Panel_Admin.Visible = true;

            if (!IsPostBack)
            {
                //if (Fjaspx.Common.Session.Get("user_id") != null)
                //{
                //    Panel_User.Visible = true;
                //    Panel_Admin.Visible = false;
                //}
                //else
                //{
                //    if (Fjaspx.Common.Session.Get("user_id") == null && Fjaspx.Common.Session.Get("administrator") != null)
                //    {
                //        Panel_User.Visible = false;
                //        Panel_Admin.Visible = true;
                //    }
                //}
            }
        }
    }
}
